#import "NSString+TTExtension.h"
#import <objc/runtime.h>

static char dm_associated_key_id;

@implementation NSString (TTExtension)

- (NSString *)tempValue {
    return objc_getAssociatedObject(self, &dm_associated_key_id);
}

- (void)setTempValue:(NSString *)tempValue {
    objc_setAssociatedObject(self, &dm_associated_key_id, tempValue, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

@end
